import Vue from 'vue'
import Router from 'vue-router'
import reg from '@/components/reg'
import login from '@/components/login'
import datas from '@/components/Data_count/index1_1'
import provincesales from '@/components/Data_count/index1_2'
import citysales from '@/components/Data_count/index1_3'
import areasales from '@/components/Data_count/index1_4'
import provinceactive from '@/components/Data_count/index1_5'
import cityactive from '@/components/Data_count/index1_6'
import areaactive from '@/components/Data_count/index1_7'
import cardcumbercatchcetting from '@/components/Card_admin/index2_1'
import bigcustomerlist from '@/components/User_area/index3_1'
import setup from '@/components/User_area/index3_2'
import bigcustomerorderlist from '@/components/User_area/index3_3'
import partnerlist from '@/components/Money_admin/index4_1'
import financialmanagementorderlist from '@/components/Money_admin/index4_2'
import revieworderlist from '@/components/Money_admin/index4_3'
import manifestlist from '@/components/Money_admin/index4_4'
import rersonnel from '@/components/System_setup/index5_1'
import role from '@/components/System_setup/index5_2'
import authority from '@/components/System_setup/index5_3'
import menu from '@/components/System_setup/index5_4'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/datas',
      component: datas
    },
    {
      path: '/provincesales',
      component: provincesales
    },
    {
      path: '/citysales',
      component: citysales
    },
    {
      path: '/areasales',
      component: areasales
    },
    {
      path: '/provinceactive',
      component: provinceactive
    },
    {
      path: '/cityactive',
      component: cityactive
    },
    {
      path: '/areaactive',
      component: areaactive
    },
    {
      path:'/cardcumbercatchcetting',
      component: cardcumbercatchcetting
    },
    {
      path: '/bigcustomerlist',
      component: bigcustomerlist
    },
    {
      path: '/setup',
      component: setup
    },
    {
      path: '/bigcustomerorderlist',
      component: bigcustomerorderlist
    },
    {
      path: '/partnerlist',
      component: partnerlist
    },
    {
      path: '/financialmanagementorderlist',
      component: financialmanagementorderlist
    },
    {
      path: '/revieworderlist',
      component: revieworderlist
    },
    {
      path: '/manifestlist',
      component: manifestlist
    },
    {
      path: "/rersonnel",
      component:rersonnel
    },
    {
      path: "/role",
      component: role
    },
    {
      path: "/authority",
      component: authority
    },
    {
      path: "/menu",
      component: menu
    }
  ]
})
